﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;


namespace Httlgd.DataCenter.Services.Core
{
    public interface IDataAccessor<BuinessEntityType>
    {
        void Delete(object key);
        BuinessEntityType Insert(BuinessEntityType entity);
        BuinessEntityType Update(BuinessEntityType entity);
        BuinessEntityType Retrieve(object key);
        List<BuinessEntityType> RetrieveAll();
        bool IsExisted(object key);
    }
}
